package com.lbmb.mdps.workbench.service;

import com.lbmb.mdps.commons.domain.MedicineTypeVo;
import com.lbmb.mdps.commons.domain.SupplierReceive;
import com.lbmb.mdps.commons.domain.SupplierVo;
import com.lbmb.mdps.commons.exception.SupplierException;
import com.lbmb.mdps.workbench.domain.Supplier;

import java.util.List;

/**
 * @author 林文塨
 * @date 2022-05-30 23:11
 * description
 */
public interface SupplierService {

    List<Supplier> supplierPageList(SupplierReceive supplierReceive) throws SupplierException;

    Integer getSupplierTotal(SupplierReceive supplierReceive) throws SupplierException;

    void addSupplier(Supplier supplier) throws SupplierException;

    void editSupplier(Supplier supplier) throws SupplierException;

    void deleteSupplier(String[] deleteSupplierIds) throws SupplierException;

    List<SupplierVo> getAllSupplier();
}
